package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 申请管理对象 sys_artist_apply
 * 
 * @author Yaphets
 * @date 2024-07-04
 */
public class SysArtistApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 申请列表主键 */
    private Long id;

    /** 查看的艺人ID */
    @Excel(name = "查看的艺人ID")
    private Long artistId;

    /** 艺人姓名 */
    @Excel(name = "艺人姓名")
    private String artistName;

    /** 申请人ID */
    @Excel(name = "申请人ID")
    private Long userId;

    /** 申请人姓名 */
    @Excel(name = "申请人姓名")
    private String userName;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applyDate;

    /** 申请类型 */
    @Excel(name = "申请类型")
    private String applyType;

    /** 申请状态 0：待审批 1：通过 2：拒绝 */
    @Excel(name = "申请状态 0：待审批 1：通过 2：拒绝")
    private Integer applyStatus = 0;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setArtistId(Long artistId) 
    {
        this.artistId = artistId;
    }

    public Long getArtistId() 
    {
        return artistId;
    }
    public void setArtistName(String artistName) 
    {
        this.artistName = artistName;
    }

    public String getArtistName() 
    {
        return artistName;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setApplyDate(Date applyDate) 
    {
        this.applyDate = applyDate;
    }

    public Date getApplyDate() 
    {
        return applyDate;
    }
    public void setApplyType(String applyType) 
    {
        this.applyType = applyType;
    }

    public String getApplyType() 
    {
        return applyType;
    }
    public void setApplyStatus(Integer applyStatus) 
    {
        this.applyStatus = applyStatus;
    }

    public Integer getApplyStatus() 
    {
        return applyStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("artistId", getArtistId())
            .append("artistName", getArtistName())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("applyDate", getApplyDate())
            .append("applyType", getApplyType())
            .append("applyStatus", getApplyStatus())
            .toString();
    }
}
